Skip to main content
Version: 6.0.10

Trigger Version

Trigger version configuration on data.json requires following basic structure

{
"id": "c0737037-c5a9-4a2e-bd6e-9fa0ceaeefbe",
"label": {
"en": "an email is received",
"ko": "이메일을 받으면"
},
"name": "1.0.0",
"schema": {
"output": {
"title": "gmailMessage",
"x-dataType": "GmailMessage",
"x-dataTypeVersion": "1.0.0",
"x-label": {
"en": "Gmail message",
"ko": "Gmail message"
}
},
"variables": [
{
"title": "labelId",
"x-dataType": "GmailLabel",
"x-dataTypeVersion": "1.0.0",
"x-label": {
"en": "Label",
"ko": "Label"
}
}
]
}
}

If id is not provided, CLI will autogenerate it and insert it into the file before creating a new trigger version. If id is provided, CLI will update the trigger version with that id.